from django.urls import re_path, path
from . import views

urlpatterns = [
    # 图形验证码
    re_path(r'^image_codes/(?P<uuid>[\w-]+)/$', views.ImageCodeView.as_view()),
    # 获取短信验证码的子路由:
    path('sms_codes/<mobile:mobile>/', views.SMSCodeView.as_view()),
]